package com.zking.service.impl.zzsf;

import java.util.List;
import java.util.Map;
import java.util.Set;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zking.dao.domain.Information;
import com.zking.dao.domain.Post;
import com.zking.dao.domain.Word;
import com.zking.dao.mapper.zzsf.InformationMapper;
import com.zking.dao.mapper.zzsf.RecruitmentMapper;
import com.zking.service.zzsf.InformationService;

@Service
public class InformationImpl implements InformationService{
	@Autowired
	private InformationMapper informationMapper;
	@Override
	public int addLabel(Information information) {
		int i = informationMapper.addLabel(information);
		return i;
	}
	@Override
	public List<Post> getId(Integer id) {
		return null;
	}
	@Override
	public Information openMg(int id) {
		Information infor = informationMapper.openMg(id);
		return infor;
	}
	@Override
	public List<Map<String, Object>> findMg(Integer id,Integer information_id) {
		List<Map<String, Object>> po= informationMapper.findMg(id, information_id);
		return po;
	}
	@Override
	public Word word(int id) {
		Word wo = informationMapper.word(id);
		return wo;
	}
	


	
	
}
